package cn.ecut.dao;

/**
 * @Author ruanxin
 */

import cn.ecut.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * @Author ruanxin
 */
public interface UserMapper{


    //根据id查询用户
    User getUserById(int id);

    //分页查询用户
    List<User> getUserLimit(Map<String,Integer> map);

    //通过rowbounds分页查询用户
    List<User> getUserByRowBounds();

}